home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / jazlib.arc / COLOR.C < prev    next >
Text File  |  1988-12-18  |  813b  |  20 lines

  1. /*
  2. ┌────────────────────────────────────────────────────────────────────────────┐
  3. │ Color.c                                                                    │
  4. │ Set the global colors used with the window and wprintf routines            │
  5. │ Usage                                                                      │
  6. │ color(WHITE,BLUE);                                                         │
  7. │                                                                            │
  8. │ (C) JazSoft Software by Jack A. Zucker (301) 794-5950                      │
  9. └────────────────────────────────────────────────────────────────────────────┘
  10. */
  11.  
  12. extern int g_fore,g_back,_attr;
  13. color( ffore , fback )
  14. int ffore , fback;
  15. {
  16.   g_fore = ffore;
  17.   g_back = fback;
  18.   _attr  = g_back * 16 | g_fore & 0x7f;
  19. }
  20.